package com.haoqizhe.kernel;

/**
 * @author haoqizhe.li
 * @date 2018/8/28
 **/
import com.haoqizhe.kernel.config.FilterConfig;
import com.haoqizhe.kernel.config.InterceptorConfig;
import com.haoqizhe.kernel.web.handler.GlobalExceptionHandler;
import com.haoqizhe.kernel.web.handler.ResponseResultHandler;
import org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * 框架自动配置装载类
 * @author haoqizhe.li
 * @date 2018/4/3 9:34
 */
@Configuration
@Import({
        InterceptorConfig.class,
        FilterConfig.class,
        GlobalExceptionHandler.class,
        //ControllerAspect.class,
        ResponseResultHandler.class,
        TransactionAutoConfiguration.class,
//        SpringContextUtil.class
})
public class KernelAutoConfig {
}
